const inquirer = require('inquirer')
const Inquirer = () => {
  return inquirer.prompt([
    {
      name: 'template',
      type: 'list',
      message: '请选择项目模板：',
      default: 'vue',
      choices: [
        { value: 'vue', name: 'Vue模板' },
        { value: 'mini', name: 'Uni模板' },
        { value: 'roullp', name: 'Roullp模板' },
        { value: 'learn', name: 'learn模板' },
        { value: 'learnUi', name: 'learn-ui模板' }
      ]
    }
  ])
}
module.exports = {
  Inquirer
}
